package br.com.hotel.dao;

import java.util.List;

import br.com.hotel.entity.TipoApto;

public class TipoAptoDAO extends GenericJpaRepository<TipoApto, Long>{

	public List<TipoApto> tipoAptos;
	public TipoAptoDAO() throws ClassNotFoundException{
		createEntityManager();
	}
	
	public List<TipoApto> getTipoAptos(){
		return findAll();
	}
	
}